#SPDB_Informix_DBSPI_1066
#critical >0.6  正常 <0.3  major >0.3 
unbackupLogs=$(su - $sys_user -c "$Souce_File onstat -l" | grep "\-\-" | grep -v 'B' | wc -l)
allLogs=$(su - $sys_user -c "$Souce_File onstat -l" | grep "\-\-" | wc -l)
SPDB_Informix_DBSPI_1066=$(printf "%.2f" $(echo "scale = 2; $unbackupLogs/$allLogs" | bc))

echo SPDB_Informix_DBSPI---"$SPDB_Informix_DBSPI_1066" 